<?php
    session_start();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="Libraries/css/style.css" rel="stylesheet" type="text/css" />
<title>index</title>

<script language="javascript">
window.location = 'http://' + location.hostname + '/index.php?option=thongtincanhan';
</script>

</head>

<body>
  <div id="border">
	<div id="top">
	</div><!-- het top -->
	<div id="middle" align="center">
      <div id="slideshow">
			<?php 
			echo "<div id='banner'>";
                include_once("Configs/slideshow.php"); 
            echo "</div>";
			    include_once("Models/NguoiQuanTri.php");
                include_once("Models/CanBoDaoTao.php");
                include_once("Models/CanBoGiangDay.php");
                include_once("Models/SinhVien.php");
            ?>
		</div><!-- het slideshow -->
<?php
if (isset($_SESSION['nmaso'])) {
	echo "<div id='menu'>";
		include("Configs/menu.php");           
	echo "</div>";
	echo "<div id='thongtindn'>";
		echo "<table border=\"0\" style=\"font-size: 12px;\" width='100%'>";
			echo "<tr><td  style=\"color:#767676\" align='right'>";
				echo "<a href=\"#\">Hướng dẫn</a>"." | <a href=\"javascript:thoat();\">Thoát</a>";
			echo "</td></tr>";
			echo "<tr><td style=\"color:#3872B2\" align='right'>";
				echo "Xin chào, <b><a href=\"index.php?option=thongtincanhan\">".$_SESSION['nten']."</a> (".$_SESSION['nmaso'].")</b>";
			echo "</td></tr>";
		  echo "</table>";
	echo "</div>";
}
?>
      <div id="center" style="font-size:18px;color:red">
      VUI LÒNG BẬT JAVASCRIPT ĐỂ TIẾP TỤC SỬ DỤNG HỆ THỐNG
      </div>
	  <div id="footer"><?php include("Configs/footer.php"); ?></div>  
	</div><!-- het middel -->
	<div id="bottom"></div><!-- het bottom -->
  </div><!-- het border -->       
</body>
</html>